package club.banyuan.demo.Bird;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/25 上午9:33
 */
public abstract  class Bird {
    private String TypeOfWings;
    private int NumOfLegs;

    public Bird() {
    }

    public Bird(String typeOfWings, int numOfLegs) {
        TypeOfWings = typeOfWings;
        NumOfLegs = numOfLegs;
    }

    public String getTypeOfWings() {
        return TypeOfWings;
    }

    public void setTypeOfWings(String typeOfWings) {
        TypeOfWings = typeOfWings;
    }

    public int getNumOfLegs() {
        return NumOfLegs;
    }

    public void setNumOfLegs(int numOfLegs) {
        NumOfLegs = numOfLegs;
    }

    public abstract void fly();

}
